/*
 * @Author: your name
 * @Date: 2021-09-18 21:51:45
 * @LastEditTime: 2021-09-18 21:51:45
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \7-e洁家政\code\ej-webui-team\src\store\modules\role.js
 */
import request from "@/utils/request"
// 默认导出
export default {
    namespaced:true,//通过名字访问到
    state(){
        return {

        }
    },
    mutations:{

    },
    actions:{
        async findAllRole(){
            // 使用ajax请求
            let res=await request.get('/role/findAll',{
                // params:{page:1,pageSize:1000}
            })
            return res;
        }
    }
}